package com.example.shixun.dao;

import com.example.shixun.pojo.LikeCourse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LikeCourseDao {
    public Integer save(LikeCourse likeCourse);
    public List<LikeCourse> findByCourseId(Integer courseId);
    public List<LikeCourse> findByUserId(Integer userId);
    public Integer likeFlag(LikeCourse likeCourse);
    public Integer deleteLike(LikeCourse likeCourse);
}
